home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / util / wb / pchctl12.lha / PatchControl / PatchControl.doc < prev    next >
Text File  |  1995-05-15  |  3KB  |  95 lines

  1.                 ____               _____                               
  2.        o______ / _ /__ ____________\   _|______ ________ ____________ o
  3.        :\___  \  //___)\  __/ _  \  _  \_   __//  __/___)\  __/_  _  \:
  4.        ::/  \  \ / _\ \   _)_ \   \ \   |   _)_\____  \ \/  \  _\ \   \
  5.        :/   _\  \  // \\ /   \/   /  \  |  /   \  _/ // \\  _\ // /   /
  6.        /_________\ /____\_____\ //:\____|_______\____/____\____/_/  //:
  7.        o--/_______/---- - --/___/--- ----- -- - --- ---- -- ----/___/-o
  8.  
  9.                                   PRESENTS
  10.  
  11.                               PatchControl V1.2
  12.  
  13.                    (C) Copyright 1994-1995 by ALiENDESiGN
  14.  
  15. Introduction:
  16. ------------
  17.  Do you know the problem: a program cannot be removed, because it can't remove
  18.  there patches. (such as MCP when you save the prefs) This programs will solve
  19.  all  problems with systempatches. All programs can remove there patches. It's
  20.  compatible to Setman.
  21.  
  22.  
  23. Difference between Setman and PatchControl:
  24. ------------------------------------------
  25.  Without  Setman or PatchControl  only  the last program that patches a vector
  26.  can  remove itself. All programs that support Setman (like MCP) can always be
  27.  removed.But there are programs (like Snoopy or Enforcer) that doesn't support
  28.  Setman  cannot be removed. This meens that  programs without a Setman support
  29.  can never be removed. PatchControl solved this problem.
  30.  
  31.  
  32. Installation:
  33. ------------
  34.  Start it right after Setpatch in your startup-sequence.
  35.  for Example:
  36.         C:SetPatch QUIET
  37.         C:PatchControl
  38.         .... all other calls follow here
  39.  
  40. Usage:
  41. ------
  42.  In commandline you can select tasknames after PatchControl. These tasks
  43.  will be include there patches before all other programs. It's very useful
  44.  for ARQ or similar programs. Example for ARQ:
  45.   C:PatchControl ARQ
  46.  The tasknames are noncasesensitive and wildcards are supported.
  47.  
  48.  
  49. For programers:
  50. --------------
  51.  It's very easy to use. Make Findport() "SetMan". If the "SetMan" port exists,
  52.  remove the patches ( with SetFunction() ) without checking. PatchControl will
  53.  do the rest.
  54.  
  55.  
  56. Developers: (Viruskiller coders)
  57. ----------
  58.  You can get a list of all patches:
  59.  Make Findport ("SetMan")  and the read out the MP_SIGTASK APTR (in old SetMan
  60.  this will be zero). In the SIGTASK ( named PatchControl ) read out the
  61.  TC_USERDATA. This is a pointer to a patchlist.
  62.  
  63.  Patchlist:
  64.    APTR  LibraryBase
  65.    ULONG Offset
  66.    APTR  PatchNode         ;First Node
  67.  
  68.    APTR  LibraryBase
  69.    ULONG Offset
  70.    APTR  PatchNode
  71.     .                      ;Here will follow a number of this structures.
  72.     .                      ;With a zero in APTR Library the list ends.
  73.     .
  74.  
  75.   PatchNode:
  76.    APTR  Next_Node         ;Offset 00
  77.    APTR  Previous_Node     ;Offset 04
  78.   JMP    Next_Program      ;Offset 08    adress of the next program
  79.    APTR  Program           ;Offset 14    the program from this node
  80.    APTR  TaskName          ;Offset 18    the taskname of this program
  81.    LABEL PatchNode_SizeOf
  82.  
  83.  
  84. Author:
  85. ------
  86.                          Stefan "zerocom" Sommerfeld
  87.                                Kaulbachstr. 3
  88.                                14612 Falkensee
  89.                                    Germany
  90.  
  91.                           Phone: +49-[0]3322-202452
  92.                        EMail: zerocom@cs.tu-berlin.de
  93.  
  94.  or call our support BBS: eViL moOn! +49-[0]3322-208768 ( 2400-28800 )
  95.